package com.example.memurbac_service.service;

import com.example.memurbac_service.pojo.Auth;
import com.example.memurbac_service.pojo.Role;

import java.util.Date;
import java.util.List;

public interface AuthService {
    List<Auth> SelectAuth();

    List<Auth> getSelectAuth(String auth_name);

   int AddAuth(Auth auth);

   int DelAuth(int id);

    //停用权限
    int offauth(int authid);

    //启用权限
    int onauth(int authid);

    //根据id查询权限信息
    Auth selectidauth(int authid);

   int UpdAuth(int id, String auth_name, String auth_desc,int memuid);

    //添加权限菜单
    int AddAuthmemu(Auth auth);
}
